import request from '@/axios'

export function list(query) {
  return request({
    url: '/sysroledept/list',
    method: 'get',
    params: query
  })
}

export function info(id) {
  return request({
    url: '/sysroledept/info/' + id,
    method: 'get'
  })
}

export function save(data) {
  return request({
    url: '/sysroledept/save',
    method: 'post',
    data
  })
}

export function update(data) {
  return request({
    url: '/sysroledept/update',
    method: 'post',
    data
  })
}

export function remove(data) {
  return request({
    url: '/sysroledept/delete',
    method: 'post',
    data
  })
}

